use rand::distributions::Uniform;
use rand::{thread_rng, Rng};

#[test]
fn uniform_distribution() {
    let mut rng = thread_rng();
    let side = Uniform::new(-10.0, 10.0);

    for _ in 0..rng.gen_range(1..=10) {
        let (x, y) = (rng.sample(side), rng.sample(side));
        println!("Point: {},{}", x, y);
    }
}
